import { createRouter, createWebHistory } from 'vue-router'
import { BASE_ROUTER } from '@/config'
const router = createRouter({
    history: createWebHistory(BASE_ROUTER),
    routes: [
        {
            path: '/',
            name: 'home',
            meta: {
                title: '首页'
            },
            component: () => import('@/views/home/index.vue'),
            children: [
                {

                    path: '/userlist',
                    name: 'userlist',
                    meta: {
                        title: ''
                    },
                    component: () => import('@/views/userlist/index.vue'),
                    children: []
                },
<<<<<<< HEAD
                {

                    path: '/premission',
                    name: 'premission',
                    meta: {
                        title: ''
                    },
                    component: () => import('@/views/premission/index.vue'),
                    children: []
                },
=======
>>>>>>> 3b77961bf61e22b9989bdb04788109b2ba8113d9
            ]
        }

    ]
})

export default router